{% extends 'temp.html' %}

{% block headers %}
      <li>
        <a href="/teacher/list/">
            <i class="bi bi-house"></i>首页
        </a>
    </li>
    <li>
        <a href="javascript:" class="has-children"  id="dome">
            <i class="bi bi-person-lock"></i>学生信息管理
        </a>
        <ul id="content">
            <li>
                <a href="/teacher/classinfo/list/"><i class="bi bi-person-fill-exclamation"></i>班级信息</a>
            </li>
            <li>
                <a href="/teacher/score/list/"><i class="bi bi-layout-text-sidebar-reverse"></i>学生成绩</a>
            </li>
        </ul>
    </li>
    <li>
        <a href="/teacher/rmation/list/">
            <i class="bi bi-person-vcard"></i>教学评价信息
        </a>
         <a href="/teacher/course/">
            <i class="bi bi-building-check"></i>课程管理
        </a>


    </li>
    <li>
        <a href="javascript:" class="has-children"  id="dome1">
            <i class="bi bi-person-fill-exclamation"></i>请假管理
        </a>
         <ul id="content1">
            <li>
                <a href="/teacher/leave/studentLeave/"><i class="bi bi-person-fill-dash"></i>学生请假管理</a>
            </li>
            <li>
                <a href="/teacher/leave/list/"><i class="bi bi-building-fill"></i>教师请假窗口</a>
            </li>
        </ul>
    </li>
{% endblock headers %}

{#{% block test %}{% endblock test %}#}
{% block content%}
   {% block text %}{% endblock text %}
{% endblock content %}

{% block js %}
{% endblock %}
{% block Onjs %}
     <script>
    window.onload = function() {
        var oOne1 = document.getElementById('dome');
        var oTwe = document.getElementById('content');
        var oOne2 = document.getElementById('dome1');
        var oTwe2 = document.getElementById('content1');

        oOne1.onclick = function() {
            if (oTwe.style.display == "block") {
                oTwe.style.display = "none";
                oOne1.classList.remove("open");
            } else {
                oTwe.style.display = "block";
                oOne1.classList.add("open");
            }
        };

        oOne2.onclick = function() {
            if (oTwe2.style.display == "block") {
                oTwe2.style.display = "none";
                oOne2.classList.remove("open");
            } else {
                oTwe2.style.display = "block";
                oOne2.classList.add("open");
            }
        };
    };

 </script>
{% endblock Onjs%}